#内置异常
'''
try :
    # 1/0
    pass
except Exception as e:
    print(e)
'''
def test(num) :
    if num == 100 :
        raise ValueError('错误了')
    return num
def test2(num):
    try:
         test(num)
    except Exception as e:
        print(e)

test2(100)



